import request from '@/utils/request'

export function login (params)  {
    return request({
       url: '/user/login',
       method: 'post',
       data: params
   })
}

export function logout (id) {
    return request({
        url: '/user/logout/' + id,
        method: 'post'
    })
}

export function getAllUserInfo() {
    return request({
        url: '/user/getAllUserInfo',
        method: 'get'
    })
}
